define(["app/utils/HttpClientUtils"],function (hc) {

	
	return {
		sendVerificationCode: function(tel, callback_Func){
			var url = $.wjtBaseBackend + "/wjt/code_send";
			var body = {
				"phoneNum": tel
			};
			hc.sendPOST(url, JSON.stringify(body),callback_Func, null, true);
		},

		verifyLoginVerificationCode: function(tel, code, name, headImageUrl, userUuid, callback_Func){
			var url = $.wjtBaseBackend + "/wjt/login_code_validate";
			var body = {
				"phoneNum": tel,
				"code": code,
				"name": name,
				"headImageUrl" : headImageUrl,
				"userUuid" : userUuid
			};

			hc.sendPOST(url, JSON.stringify(body),callback_Func, null, true);
		}
	};

});
